Compare strings when case is not important.
if UniCase(method) == UniCase('GET') { // GET request }
MIT